// -*- C++ -*-

#include "Service_Object_Ptr.h"

Service_Object_Ptr::Service_Object_Ptr( Service_Object *so )
: service_object_(so)
{

}

Service_Object_Ptr::~Service_Object_Ptr( void )
{
	this->service_object_->fini();
	delete this->service_object_;
}

Service_Object* Service_Object_Ptr::operator ->()
{
	return this->service_object_;
}